//
//  OurViewController.m
//  UI_xiangmu
//
//  Created by dlios on 15-4-28.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "OurViewController.h"

@interface OurViewController ()

@end

@implementation OurViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    [self createOurView];
}

#pragma mark 创建视图
- (void)createOurView
{
    self.view.backgroundColor = [UIColor whiteColor];
    self.navigationItem.title = @"关于我们";
    UIImage *image = [UIImage imageNamed:@"our.jpg"];
    UIImageView *imageView = [[UIImageView alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    [imageView setImage:image];
    [self.view addSubview:imageView];
    [imageView release];
    UILabel *ourLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 350, 355, 200)];
    ourLabel.text = @"siuopgj[orhjaeihgj[pje4g[ijierg";
    ourLabel.layer.borderWidth = 3;
    ourLabel.layer.cornerRadius = 20;
    ourLabel.backgroundColor = [UIColor whiteColor];
    ourLabel.numberOfLines = 6;
    ourLabel.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:ourLabel];

}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
